package com.sptpc.drink.service;

import com.sptpc.drink.pojo.Category;

import java.util.List;

public interface CategoryService {
   Category querById(Long id);
   //模糊查询
   List<Category> queryName(String name);
   List<Category> queryAll();

   void insert(Category category);

   void delete(Long id);

   void  update(Category category);
}
